package com.itheima.a01abstractdemo1;

public class Test {
    public static void main(String[] args) {
        Dog d = new Dog("哈士奇","2");
        System.out.println(d.getName()+", "+d.getAge());
        d.drink();
        d.eat();
    }
}
